package com.team.six.bluecatshop.service;

import com.team.six.bluecatshop.domain.Comment;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CommentService {
    public Comment selectCommentByProductId(String productId);

    public int updateByPrimaryKeySelective(Comment comment);

    public int insert(Comment comment);

    public Comment selectCommentByHistoryId(String historyId);
    public List<Comment> selectCommentsByCustomerId(String customerId);

    Comment findById(String commentId);
}
